package com.samuel.test;

import com.google.common.collect.Sets;

import java.util.Set;

public class ToStringAndSubString {

    public static void main(String[] args) {
        Set<String> styleNumIdSet = Sets.newHashSet();
        for (int i = 0; i <10 ; i++) {
            styleNumIdSet.add(String.valueOf(i));
        }
        System.out.println(styleNumIdSet.toString());
        System.out.println(styleNumIdSet.toString().substring(1,styleNumIdSet.toString().length()-1));
    }
}
